@font-face {
    font-family: 'webfont';
    font-display: swap;
    src: url('../fonts/regular/webfont.eot'); /* IE9 */
    src: url('../fonts/regular/webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/regular/webfont.woff2') format('woff2'),
    url('../fonts/regular/webfont.woff') format('woff'), /* chrome、firefox */ url('../fonts/regular/webfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('../fonts/regular/webfont.svg#webfont') format('svg'); /* iOS 4.1- */
}

:root {
    --main: rgba(25, 137, 250);
}

body {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    height: 100vh;
    background: #f2f4f7;
}

a{
    text-decoration: none;
}

*::selection {
    background-color: var(--main);
    color: #fff;
}

.web-font {
    font-family: "webfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.error,
.warn,
.success {
    position: absolute;
    width: 250px;
    height: 35px;
    font-size: 16px;
    line-height: 35px;
    text-indent: .5em;
    border-radius: .2rem;
    right: 250px;
    color: #fff;
    user-select: none;
    transform: scaleX(0) scaleY(0) translateY(-60px);
    transition: all .4s ease;
}

.error {
    background: rgba(219, 40, 40, 0.6);
    border: 2px solid rgba(219, 40, 40, .9);
    box-shadow: 0 1px 3px rgba(219, 40, 40, .9);
}

.warn {
    background: rgb(254, 115, 0, .6);
    border: 2px solid rgba(254, 115, 0, .9);
    box-shadow: 0 1px 3px rgba(254, 115, 0, .9);
}

.success {
    background: rgba(0, 128, 0, 0.6);
    border: 2px solid rgba(0, 128, 0, .9);
    box-shadow: 0 1px 3px rgba(0, 128, 0, .9);
}

#close-info {
    cursor: pointer;
}

.error.active,
.warn.active,
.success.active {
    transform: scaleX(1) scaleY(1) translateY(20px);
}